package com.seawaterbt.ssm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.seawaterbt.ssm.config.DataSource;
import com.seawaterbt.ssm.config.DataSourceEnum;
import com.seawaterbt.ssm.entity.CzDatHeatstationDataHistory;
import com.seawaterbt.ssm.entity.CzDatRoomtempHistory;
import com.seawaterbt.ssm.mapper.CzDatRoomtempHistoryMapper;
import com.seawaterbt.ssm.service.CzDatRoomtempHistoryService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhf
 * @since 2019-10-31
 */
@Service
public class CzDatRoomtempHistoryServiceImpl extends ServiceImpl<CzDatRoomtempHistoryMapper, CzDatRoomtempHistory> implements CzDatRoomtempHistoryService {
    @DataSource(DataSourceEnum.DB2)
    @Override
    public boolean saveOrUpdate(CzDatRoomtempHistory entity) {
        return super.saveOrUpdate(entity);
    }

}
